<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QxOrm: qx::QxCollection&lt; Key, Value &gt; Class Template Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo_qxorm.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QxOrm
   &#160;<span id="projectnumber">1.4.3</span>
   </div>
   <div id="projectbrief">C++ Object Relational Mapping library</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classqx_1_1_qx_collection.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-types">Protected Types</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pri-methods">Private Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">qx::QxCollection&lt; Key, Value &gt; Class Template Reference<div class="ingroups"><a class="el" href="group___qx_collection.html">QxCollection : QxOrm library container (keep insertion order + quick access by index + quick access by key)</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="qx::QxCollection" --><!-- doxytag: inherits="qx::IxCollection" -->
<p>qx::QxCollection&lt;Key, Value&gt; : QxOrm container (keep insertion order + quick access by index + quick access by key)  
 <a href="classqx_1_1_qx_collection.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for qx::QxCollection&lt; Key, Value &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classqx_1_1_qx_collection.png" usemap="#qx::QxCollection&lt; Key, Value &gt;_map" alt=""/>
  <map id="qx::QxCollection&lt; Key, Value &gt;_map" name="qx::QxCollection&lt; Key, Value &gt;_map">
<area href="classqx_1_1_ix_collection.html" title="qx::IxCollection : common interface for all QxOrm containers qx::QxCollection&lt;Key, Value&gt;" alt="qx::IxCollection" shape="rect" coords="0,0,190,24"/>
</map>
 </div></div>

<p><a href="classqx_1_1_qx_collection-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structqx_1_1_qx_collection_1_1compare_key_value.html">compareKeyValue</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structqx_1_1_qx_collection_1_1compare_key_value_3_01true_00_01dummy_01_4.html">compareKeyValue&lt; true, dummy &gt;</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef QPair&lt; Key, Value &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a64ac02a079ab6d80cc3147dd4a60c357">type_pair_key_value</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef type_index_rand::iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a5b7b37e15959ea92f5ee63fbc37c2cec">iterator</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
type_index_rand::const_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a0fb6b1200751318557d88e6747b4444a">const_iterator</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
type_index_rand::reverse_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#ab0c08d2e209fbf646b900c9b760814f2">reverse_iterator</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
type_index_rand::const_reverse_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#aa7fac6ef55247031cd19da8ad7ccb4b4">const_reverse_iterator</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef const Key &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#ae572d88061fa3737a49e93541ed25ed0">const_reference_key</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef const Value &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#ac29950bc2d7f35974f1eca6fd5a0ef2c">const_reference_value</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a2e60ad5cee08517a8ee22b1356eaa2a7">QxCollection</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct an empty list.  <a href="#a2e60ad5cee08517a8ee22b1356eaa2a7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a9cfd295defd65de4b575662e0a76c48e">QxCollection</a> (const <a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; &amp;other)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a copy of 'other'.  <a href="#a9cfd295defd65de4b575662e0a76c48e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a5bad9c357a1e9aad50b202dc69ca8d03">~QxCollection</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy the list.  <a href="#a5bad9c357a1e9aad50b202dc69ca8d03"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#ab295cf7958a205a19b4bcbb6c72de822">operator=</a> (const <a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; &amp;other)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign 'other' to this list and return a reference to this list.  <a href="#ab295cf7958a205a19b4bcbb6c72de822"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a2529e650813e0d172c3f5cc11c0b36a2">operator==</a> (const <a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; &amp;other) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return 'true' if 'other' is equal to this list, otherwise return 'false' (same values in the same order)  <a href="#a2529e650813e0d172c3f5cc11c0b36a2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a6ac47c53d09c6263acfffdfe1927b889">operator!=</a> (const <a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; &amp;other) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return 'true' if 'other' is not equal to this list, otherwise return 'false'.  <a href="#a6ac47c53d09c6263acfffdfe1927b889"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqx_1_1_qx_collection.html#a5b7b37e15959ea92f5ee63fbc37c2cec">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a85be86f1e03076a396283ec590c4de6f">begin</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return an STL-style iterator pointing to the first item in the list.  <a href="#a85be86f1e03076a396283ec590c4de6f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqx_1_1_qx_collection.html#a5b7b37e15959ea92f5ee63fbc37c2cec">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#af0f9ad86d2994c53166a19d5e6371a2f">end</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return an STL-style iterator pointing to the imaginary item after the last item in the list.  <a href="#af0f9ad86d2994c53166a19d5e6371a2f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqx_1_1_qx_collection.html#a0fb6b1200751318557d88e6747b4444a">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#aea002b1d500ba95a612b3af5cd9caa84">begin</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a const STL-style iterator pointing to the first item in the list.  <a href="#aea002b1d500ba95a612b3af5cd9caa84"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqx_1_1_qx_collection.html#a0fb6b1200751318557d88e6747b4444a">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a9cfb09747f631b4c2ef7ea9d84d831e0">end</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a const STL-style iterator pointing to the imaginary item after the last item in the list.  <a href="#a9cfb09747f631b4c2ef7ea9d84d831e0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqx_1_1_qx_collection.html#ab0c08d2e209fbf646b900c9b760814f2">reverse_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a0359ef96d5e3dc3f9311bcd212b1d3a3">rbegin</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a reverse STL-style iterator pointing to the first item in the list.  <a href="#a0359ef96d5e3dc3f9311bcd212b1d3a3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqx_1_1_qx_collection.html#ab0c08d2e209fbf646b900c9b760814f2">reverse_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a205eed8fadd9331fa438b9da7300822f">rend</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a reverse STL-style iterator pointing to the imaginary item after the last item in the list.  <a href="#a205eed8fadd9331fa438b9da7300822f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqx_1_1_qx_collection.html#aa7fac6ef55247031cd19da8ad7ccb4b4">const_reverse_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#af3b061b47190aa61ea9aa1f26ddd57de">rbegin</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a const reverse STL-style iterator pointing to the first item in the list.  <a href="#af3b061b47190aa61ea9aa1f26ddd57de"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqx_1_1_qx_collection.html#aa7fac6ef55247031cd19da8ad7ccb4b4">const_reverse_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a0ec0e81216161104ddcfdc90c6f42cd3">rend</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a const reverse STL-style iterator pointing to the imaginary item after the last item in the list.  <a href="#a0ec0e81216161104ddcfdc90c6f42cd3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#aabedd22d38cb4497ea5f4664286dec05">capacity</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return size of allocated storage capacity.  <a href="#aabedd22d38cb4497ea5f4664286dec05"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a47133ed5f3d4902f017399bdf5e0e12d">reserve</a> (long size)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Request that the capacity of the allocated storage space for the items of the container be at least enough to hold 'size' elements.  <a href="#a47133ed5f3d4902f017399bdf5e0e12d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a8fe20737d457cd97aee12db0185e5d85">reverse</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reverse all items in the list.  <a href="#a8fe20737d457cd97aee12db0185e5d85"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#ab258660dfa4167780d71e9abd1e631e7">clear</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove all items from the list.  <a href="#ab258660dfa4167780d71e9abd1e631e7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#ab8f0528865494102febab56031988a9a">count</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of items in the list (same as 'size()')  <a href="#ab8f0528865494102febab56031988a9a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a7977eb06f18f7055433365cbb2fbf5fa">size</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of items in the list (same as 'count()')  <a href="#a7977eb06f18f7055433365cbb2fbf5fa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a464ef9e5e095c647e34a851b167d421d">contains</a> (const Key &amp;key) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return 'true' if the list contains an occurrence of 'key', otherwise return 'false' (same as 'exist()')  <a href="#a464ef9e5e095c647e34a851b167d421d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a276ed91a7453196b87d027f91ef7ff21">exist</a> (const Key &amp;key) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return 'true' if the list contains an occurrence of 'key', otherwise return 'false' (same as 'contains()')  <a href="#a276ed91a7453196b87d027f91ef7ff21"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#aa3b9e171a47ae4021ed93e780ca604ba">empty</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return 'true' if the list contains no items; otherwise return 'false'.  <a href="#aa3b9e171a47ae4021ed93e780ca604ba"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a7269b27bc19a6874b8984ddd4f3cecd1">push_back</a> (const Key &amp;key, const Value &amp;value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add element 'value' at the end of the list indexed by 'key'.  <a href="#a7269b27bc19a6874b8984ddd4f3cecd1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#abea68733aa43643af5a2ac07bbd78aa2">push_front</a> (const Key &amp;key, const Value &amp;value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert 'value' at the beginning of the list indexed by 'key'.  <a href="#abea68733aa43643af5a2ac07bbd78aa2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a0f4fa1d6008d5910103be9037f20665b">insert</a> (const Key &amp;key, const Value &amp;value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add element 'value' at the end of the list indexed by 'key'.  <a href="#a0f4fa1d6008d5910103be9037f20665b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a612a691cc44bac11b2bf12b1251d96ee">insert</a> (long index, const Key &amp;key, const Value &amp;value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert element 'value' at position 'index' in the list indexed by 'key'.  <a href="#a612a691cc44bac11b2bf12b1251d96ee"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a7b38a992bd4e2833a44c4dadba9a3cf4">insert</a> (const <a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; &amp;other)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add all items of 'other' at the end of the list.  <a href="#a7b38a992bd4e2833a44c4dadba9a3cf4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a768d304ec25dfbcb8f4f38946e4da6c5">insert</a> (long index, const <a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; &amp;other)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert all items of 'other' at the end of the list.  <a href="#a768d304ec25dfbcb8f4f38946e4da6c5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a645812dcc3e768f2f66413f77b0217c8">replace</a> (long index, const Key &amp;key, const Value &amp;value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Replace the item at index position 'index' with element 'value' indexed by 'key'.  <a href="#a645812dcc3e768f2f66413f77b0217c8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a8c51b338f22db4df3d3a0d4ad65332e8">swap</a> (long index1, long index2)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Exchange the item at index position 'index1' with the item at index position 'index2'.  <a href="#a8c51b338f22db4df3d3a0d4ad65332e8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a26d085401a715214dee2b8737e0c68dc">move</a> (long indexFrom, long indexTo)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Move the item at index position 'indexFrom' to index position 'indexTo'.  <a href="#a26d085401a715214dee2b8737e0c68dc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a700ad0d24afec119dcad59a263136181">removeByKey</a> (const Key &amp;key)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove the item indexed by 'key' in the list.  <a href="#a700ad0d24afec119dcad59a263136181"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#ad4d8541e983e15c660d7162bf502e9df">removeByIndex</a> (long index)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove the item at index position 'index'.  <a href="#ad4d8541e983e15c660d7162bf502e9df"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#aa934adc095e397ce632c9f67b592f087">removeByIndex</a> (long first, long last)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove all items from index position 'first' to index position 'last'.  <a href="#aa934adc095e397ce632c9f67b592f087"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a8a1e716b1c32b96e429e43127436ad94">removeFirst</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove the first item in the list.  <a href="#a8a1e716b1c32b96e429e43127436ad94"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a255472341136f55456f6a7507abdd21c">removeLast</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove the last item in the list.  <a href="#a255472341136f55456f6a7507abdd21c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqx_1_1_qx_collection.html#ac29950bc2d7f35974f1eca6fd5a0ef2c">const_reference_value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a5b11fea19689fde42c070e2f97c43a73">getByKey</a> (const Key &amp;key) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the item associated with the 'key'.  <a href="#a5b11fea19689fde42c070e2f97c43a73"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqx_1_1_qx_collection.html#ac29950bc2d7f35974f1eca6fd5a0ef2c">const_reference_value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#ab20d863744dee2eac0752757e027e8be">getByIndex</a> (long index) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the item at index position 'index'.  <a href="#ab20d863744dee2eac0752757e027e8be"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqx_1_1_qx_collection.html#ac29950bc2d7f35974f1eca6fd5a0ef2c">const_reference_value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a1007ff21d56f33e5692a16d9e115e8cd">getFirst</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the first element in the list.  <a href="#a1007ff21d56f33e5692a16d9e115e8cd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqx_1_1_qx_collection.html#ac29950bc2d7f35974f1eca6fd5a0ef2c">const_reference_value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#ac29215e7c05ee9d905641514c5c5d05f">getLast</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the last element in the list.  <a href="#ac29215e7c05ee9d905641514c5c5d05f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqx_1_1_qx_collection.html#ae572d88061fa3737a49e93541ed25ed0">const_reference_key</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a416faccd5e60a423a3d594eef2a3f99c">getKeyByIndex</a> (long index) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the key associated with the element at index position 'index'.  <a href="#a416faccd5e60a423a3d594eef2a3f99c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a4f2e29a010522b479821c230b57adaed">sortByKey</a> (bool bAscending=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sort all items in the list using associated keys to compare.  <a href="#a4f2e29a010522b479821c230b57adaed"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a0a5b869d07917714f5ca14dc114fa8d9">sortByValue</a> (bool bAscending=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sort all items in the list.  <a href="#a0a5b869d07917714f5ca14dc114fa8d9"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename Compare &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a11aa16749d8cd7982519489948a4c1ae">sort</a> (Compare comp)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#adae3349e9cbc1c7978af455539777146">_count</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a1cf2e485c5adfe897f2c0cb0e2bd2a27">_clear</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a84fbf341c3587f3f1899665505a05539">_remove</a> (long index)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual boost::any&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#ae65263a9dfb2ec4a7b961c7394180e21">_at</a> (long index) const </td></tr>
<tr><td colspan="2"><h2><a name="pro-types"></a>
Protected Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
boost::multi_index::member<br class="typebreak"/>
&lt; <a class="el" href="classqx_1_1_qx_collection.html#a64ac02a079ab6d80cc3147dd4a60c357">type_pair_key_value</a>, Key,&amp;type_pair_key_value::first &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#ac7064ff450fd0f575a10eaaa8d81797a">type_member</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
boost::multi_index::random_access&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a77954f782f2a820597ae56bd8e7f5a52">type_first_index</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
boost::multi_index::hashed_unique<br class="typebreak"/>
&lt; <a class="el" href="classqx_1_1_qx_collection.html#ac7064ff450fd0f575a10eaaa8d81797a">type_member</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#ac2ea5c9f54a13a31fe5db17de1b9f327">type_second_index</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
boost::multi_index::indexed_by<br class="typebreak"/>
&lt; <a class="el" href="classqx_1_1_qx_collection.html#a77954f782f2a820597ae56bd8e7f5a52">type_first_index</a>, <br class="typebreak"/>
<a class="el" href="classqx_1_1_qx_collection.html#ac2ea5c9f54a13a31fe5db17de1b9f327">type_second_index</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a03966401f6233e61bfc35fb7d5cc68fb">type_indexed_by</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
boost::multi_index::multi_index_container<br class="typebreak"/>
&lt; <a class="el" href="classqx_1_1_qx_collection.html#a64ac02a079ab6d80cc3147dd4a60c357">type_pair_key_value</a>, <br class="typebreak"/>
<a class="el" href="classqx_1_1_qx_collection.html#a03966401f6233e61bfc35fb7d5cc68fb">type_indexed_by</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a2053337d8797601340e3b2667c643a51">type_container</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
type_container::template <br class="typebreak"/>
nth_index&lt; 0 &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a0cb81cc715a51121b33b5abe09f09092">type_index_rand</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
type_container::template <br class="typebreak"/>
nth_index&lt; 1 &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#ad5ac81bf04c358f2b2551ab5e873b13f">type_index_hash</a></td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqx_1_1_qx_collection.html#a2053337d8797601340e3b2667c643a51">type_container</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a2fd856518b2796359cd9b9135be9f32c">m_qxCollection</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Collection with random access (like std::vector) and fast lookup by key (like boost::unordered_map)  <a href="#a2fd856518b2796359cd9b9135be9f32c"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#a5ee468d77f52316fcf3357080f86bd48">cloneCollection</a> (<a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; *pClone, const <a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; &amp;pRef)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_collection.html#adba1d541808cec21ac1dff0ac46da8fd">isSameCollection</a> (const <a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; *p1, const <a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; &amp;p2) const </td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename Key, typename Value&gt;<br/>
class qx::QxCollection&lt; Key, Value &gt;</h3>

<p>qx::QxCollection&lt;Key, Value&gt; : QxOrm container (keep insertion order + quick access by index + quick access by key) </p>
<p>Based on boost::multi_index_container, this collection has advantages of std::vector&lt;T&gt; (keep insertion order + quick access by index) and boost::unordered_map&lt;Key, Value&gt; or QHash&lt;Key, Value&gt; (quick access by key : hash-map).</p>
<p><em>Note :</em> qx::QxCollection&lt;Key, Value&gt; is compatible with the foreach macro provided by Qt library and the BOOST_FOREACH macro provided by boost library. However, each element returned by these 2 macros corresponds to an object of type std::pair&lt;Key, Value&gt;. To obtain a more natural and more readable result, it is advised to use the _foreach macro : this macro uses BOOST_FOREACH for all the containers except for qx::QxCollection&lt;Key, Value&gt;. In this case, the returned element corresponds to the Value type (cf. following sample). The macro _foreach is compatible with all containers (stl, Qt, boost...) since it uses the macro BOOST_FOREACH.</p>
<p><em>Additional note :</em> qx::QxCollection&lt;Key, Value&gt; is particularly suited to receive data resulting from a database. Indeed, these data can be sorted (by using ORDER BY in a SQL request for example), it is thus important to preserve the insertion order of the elements in the list. Furthermore, each data resulting from a database has a unique id. It is thus important to be able to access quickly to an element based on this single identifier (hash-map).</p>
<p>Quick sample using qx::QxCollection&lt;Key, Value&gt; container : </p>
<div class="fragment"><pre class="fragment"><span class="comment">// definition of drug class with 3 properties : &#39;code&#39;, &#39;name&#39; and &#39;description&#39;</span>
<span class="keyword">class </span>drug { <span class="keyword">public</span>: QString code; QString name; QString desc; };

<span class="comment">// typedef a smart-pointer of drug class</span>
<span class="keyword">typedef</span> boost::shared_ptr&lt;drug&gt; drug_ptr;

<span class="comment">// collection of drugs indexed by &#39;code&#39; property (QString type)</span>
<a class="code" href="classqx_1_1_qx_collection.html" title="qx::QxCollection&lt;Key, Value&gt; : QxOrm container (keep insertion order + quick access by index + quick ...">qx::QxCollection&lt;QString, drug_ptr&gt;</a> lstDrugs;

<span class="comment">// create 3 new drugs</span>
drug_ptr d1; d1.reset(<span class="keyword">new</span> drug()); d1-&gt;code = <span class="stringliteral">&quot;code1&quot;</span>; d1-&gt;name = <span class="stringliteral">&quot;name1&quot;</span>; d1-&gt;desc = <span class="stringliteral">&quot;desc1&quot;</span>;
drug_ptr d2; d2.reset(<span class="keyword">new</span> drug()); d2-&gt;code = <span class="stringliteral">&quot;code2&quot;</span>; d2-&gt;name = <span class="stringliteral">&quot;name2&quot;</span>; d2-&gt;desc = <span class="stringliteral">&quot;desc2&quot;</span>;
drug_ptr d3; d3.reset(<span class="keyword">new</span> drug()); d3-&gt;code = <span class="stringliteral">&quot;code3&quot;</span>; d3-&gt;name = <span class="stringliteral">&quot;name3&quot;</span>; d3-&gt;desc = <span class="stringliteral">&quot;desc3&quot;</span>;

<span class="comment">// insert 3 drugs into the collection</span>
lstDrugs.<a class="code" href="classqx_1_1_qx_collection.html#a0f4fa1d6008d5910103be9037f20665b" title="Add element &#39;value&#39; at the end of the list indexed by &#39;key&#39;.">insert</a>(d1-&gt;code, d1);
lstDrugs.<a class="code" href="classqx_1_1_qx_collection.html#a0f4fa1d6008d5910103be9037f20665b" title="Add element &#39;value&#39; at the end of the list indexed by &#39;key&#39;.">insert</a>(d2-&gt;code, d2);
lstDrugs.<a class="code" href="classqx_1_1_qx_collection.html#a0f4fa1d6008d5910103be9037f20665b" title="Add element &#39;value&#39; at the end of the list indexed by &#39;key&#39;.">insert</a>(d3-&gt;code, d3);

<span class="comment">// iterate over drugs container using QxOrm &#39;_foreach&#39; keyword</span>
<a class="code" href="_qx_foreach_8h.html#acf8b8a59a7631e240a72eb310c6371c4">_foreach</a>(drug_ptr p, lstDrugs)
{ qDebug() &lt;&lt; qPrintable(p-&gt;name) &lt;&lt; <span class="stringliteral">&quot; &quot;</span> &lt;&lt; qPrintable(p-&gt;desc); }

<span class="comment">// iterate over drugs container using classic C++ &#39;for&#39; keyword</span>
<span class="keywordflow">for</span> (<span class="keywordtype">long</span> l = 0; l &lt; lstDrugs.<a class="code" href="classqx_1_1_qx_collection.html#ab8f0528865494102febab56031988a9a" title="Return the number of items in the list (same as &#39;size()&#39;)">count</a>(); ++l)
{
   drug_ptr p = lstDrugs.<a class="code" href="classqx_1_1_qx_collection.html#ab20d863744dee2eac0752757e027e8be" title="Return the item at index position &#39;index&#39;.">getByIndex</a>(l);
   QString code = lstDrugs.<a class="code" href="classqx_1_1_qx_collection.html#a416faccd5e60a423a3d594eef2a3f99c" title="Return the key associated with the element at index position &#39;index&#39;.">getKeyByIndex</a>(l);
   qDebug() &lt;&lt; qPrintable(p-&gt;name) &lt;&lt; <span class="stringliteral">&quot; &quot;</span> &lt;&lt; qPrintable(p-&gt;desc);
}

<span class="comment">// iterate over drugs container using &#39;qx::QxCollectionIterator&#39; Java-style iterator</span>
<a class="code" href="classqx_1_1_qx_collection_iterator.html" title="qx::QxCollectionIterator : Java-style iterator to iterate over a qx::QxCollection&lt;Key, Value&gt; container">qx::QxCollectionIterator&lt;QString, drug_ptr&gt;</a> itr(lstDrugs);
<span class="keywordflow">while</span> (itr.next())
{
   QString code = itr.key();
   qDebug() &lt;&lt; qPrintable(itr.value()-&gt;name) &lt;&lt; <span class="stringliteral">&quot; &quot;</span> &lt;&lt; qPrintable(itr.value()-&gt;desc);
}

<span class="comment">// sort drugs container ascending by key and sort descending by value</span>
lstDrugs.<a class="code" href="classqx_1_1_qx_collection.html#a4f2e29a010522b479821c230b57adaed" title="Sort all items in the list using associated keys to compare.">sortByKey</a>(<span class="keyword">true</span>);
lstDrugs.<a class="code" href="classqx_1_1_qx_collection.html#a0a5b869d07917714f5ca14dc114fa8d9" title="Sort all items in the list.">sortByValue</a>(<span class="keyword">false</span>);

<span class="comment">// access to a drug into the collection by its &#39;code&#39; property</span>
drug_ptr p = lstDrugs.<a class="code" href="classqx_1_1_qx_collection.html#a5b11fea19689fde42c070e2f97c43a73" title="Return the item associated with the &#39;key&#39;.">getByKey</a>(<span class="stringliteral">&quot;code2&quot;</span>);

<span class="comment">// access to a drug into the collection by index (position in the list)</span>
drug_ptr p = lstDrugs.<a class="code" href="classqx_1_1_qx_collection.html#ab20d863744dee2eac0752757e027e8be" title="Return the item at index position &#39;index&#39;.">getByIndex</a>(2);

<span class="comment">// test if a drug exists into the collection and if the collection is empty</span>
<span class="keywordtype">bool</span> bExist = lstDrugs.<a class="code" href="classqx_1_1_qx_collection.html#a276ed91a7453196b87d027f91ef7ff21" title="Return &#39;true&#39; if the list contains an occurrence of &#39;key&#39;, otherwise return &#39;false&#39; (same as &#39;contain...">exist</a>(<span class="stringliteral">&quot;code3&quot;</span>);
<span class="keywordtype">bool</span> bEmpty = lstDrugs.<a class="code" href="classqx_1_1_qx_collection.html#aa3b9e171a47ae4021ed93e780ca604ba" title="Return &#39;true&#39; if the list contains no items; otherwise return &#39;false&#39;.">empty</a>();

<span class="comment">// remove the second drug from the collection</span>
lstDrugs.<a class="code" href="classqx_1_1_qx_collection.html#ad4d8541e983e15c660d7162bf502e9df" title="Remove the item at index position &#39;index&#39;.">removeByIndex</a>(2);

<span class="comment">// remove a drug from the collection using its &#39;code&#39; property</span>
lstDrugs.<a class="code" href="classqx_1_1_qx_collection.html#a700ad0d24afec119dcad59a263136181" title="Remove the item indexed by &#39;key&#39; in the list.">removeByKey</a>(<span class="stringliteral">&quot;code3&quot;</span>);

<span class="comment">// clear the collection : remove all items from the list</span>
lstDrugs.<a class="code" href="classqx_1_1_qx_collection.html#ab258660dfa4167780d71e9abd1e631e7" title="Remove all items from the list.">clear</a>();
</pre></div> 
<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00153">153</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a0fb6b1200751318557d88e6747b4444a"></a><!-- doxytag: member="qx::QxCollection::const_iterator" ref="a0fb6b1200751318557d88e6747b4444a" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef type_index_rand::const_iterator <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::<a class="el" href="classqx_1_1_qx_collection.html#a0fb6b1200751318557d88e6747b4444a">const_iterator</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00174">174</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae572d88061fa3737a49e93541ed25ed0"></a><!-- doxytag: member="qx::QxCollection::const_reference_key" ref="ae572d88061fa3737a49e93541ed25ed0" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef const Key&amp; <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::<a class="el" href="classqx_1_1_qx_collection.html#ae572d88061fa3737a49e93541ed25ed0">const_reference_key</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00178">178</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac29950bc2d7f35974f1eca6fd5a0ef2c"></a><!-- doxytag: member="qx::QxCollection::const_reference_value" ref="ac29950bc2d7f35974f1eca6fd5a0ef2c" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef const Value&amp; <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::<a class="el" href="classqx_1_1_qx_collection.html#ac29950bc2d7f35974f1eca6fd5a0ef2c">const_reference_value</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00179">179</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa7fac6ef55247031cd19da8ad7ccb4b4"></a><!-- doxytag: member="qx::QxCollection::const_reverse_iterator" ref="aa7fac6ef55247031cd19da8ad7ccb4b4" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef type_index_rand::const_reverse_iterator <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::<a class="el" href="classqx_1_1_qx_collection.html#aa7fac6ef55247031cd19da8ad7ccb4b4">const_reverse_iterator</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00176">176</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5b7b37e15959ea92f5ee63fbc37c2cec"></a><!-- doxytag: member="qx::QxCollection::iterator" ref="a5b7b37e15959ea92f5ee63fbc37c2cec" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef type_index_rand::iterator <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::<a class="el" href="classqx_1_1_qx_collection.html#a5b7b37e15959ea92f5ee63fbc37c2cec">iterator</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00173">173</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab0c08d2e209fbf646b900c9b760814f2"></a><!-- doxytag: member="qx::QxCollection::reverse_iterator" ref="ab0c08d2e209fbf646b900c9b760814f2" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef type_index_rand::reverse_iterator <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::<a class="el" href="classqx_1_1_qx_collection.html#ab0c08d2e209fbf646b900c9b760814f2">reverse_iterator</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00175">175</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2053337d8797601340e3b2667c643a51"></a><!-- doxytag: member="qx::QxCollection::type_container" ref="a2053337d8797601340e3b2667c643a51" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef boost::multi_index::multi_index_container&lt;<a class="el" href="classqx_1_1_qx_collection.html#a64ac02a079ab6d80cc3147dd4a60c357">type_pair_key_value</a>, <a class="el" href="classqx_1_1_qx_collection.html#a03966401f6233e61bfc35fb7d5cc68fb">type_indexed_by</a>&gt; <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::<a class="el" href="classqx_1_1_qx_collection.html#a2053337d8797601340e3b2667c643a51">type_container</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00166">166</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<a class="anchor" id="a77954f782f2a820597ae56bd8e7f5a52"></a><!-- doxytag: member="qx::QxCollection::type_first_index" ref="a77954f782f2a820597ae56bd8e7f5a52" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef boost::multi_index::random_access <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::<a class="el" href="classqx_1_1_qx_collection.html#a77954f782f2a820597ae56bd8e7f5a52">type_first_index</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00163">163</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad5ac81bf04c358f2b2551ab5e873b13f"></a><!-- doxytag: member="qx::QxCollection::type_index_hash" ref="ad5ac81bf04c358f2b2551ab5e873b13f" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef type_container::template nth_index&lt;1&gt;::type <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::<a class="el" href="classqx_1_1_qx_collection.html#ad5ac81bf04c358f2b2551ab5e873b13f">type_index_hash</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00169">169</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0cb81cc715a51121b33b5abe09f09092"></a><!-- doxytag: member="qx::QxCollection::type_index_rand" ref="a0cb81cc715a51121b33b5abe09f09092" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef type_container::template nth_index&lt;0&gt;::type <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::<a class="el" href="classqx_1_1_qx_collection.html#a0cb81cc715a51121b33b5abe09f09092">type_index_rand</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00168">168</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<a class="anchor" id="a03966401f6233e61bfc35fb7d5cc68fb"></a><!-- doxytag: member="qx::QxCollection::type_indexed_by" ref="a03966401f6233e61bfc35fb7d5cc68fb" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef boost::multi_index::indexed_by&lt;<a class="el" href="classqx_1_1_qx_collection.html#a77954f782f2a820597ae56bd8e7f5a52">type_first_index</a>, <a class="el" href="classqx_1_1_qx_collection.html#ac2ea5c9f54a13a31fe5db17de1b9f327">type_second_index</a>&gt; <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::<a class="el" href="classqx_1_1_qx_collection.html#a03966401f6233e61bfc35fb7d5cc68fb">type_indexed_by</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00165">165</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac7064ff450fd0f575a10eaaa8d81797a"></a><!-- doxytag: member="qx::QxCollection::type_member" ref="ac7064ff450fd0f575a10eaaa8d81797a" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef boost::multi_index::member&lt;<a class="el" href="classqx_1_1_qx_collection.html#a64ac02a079ab6d80cc3147dd4a60c357">type_pair_key_value</a>, Key, &amp; type_pair_key_value::first&gt; <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::<a class="el" href="classqx_1_1_qx_collection.html#ac7064ff450fd0f575a10eaaa8d81797a">type_member</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00162">162</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<a class="anchor" id="a64ac02a079ab6d80cc3147dd4a60c357"></a><!-- doxytag: member="qx::QxCollection::type_pair_key_value" ref="a64ac02a079ab6d80cc3147dd4a60c357" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef QPair&lt;Key, Value&gt; <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::<a class="el" href="classqx_1_1_qx_collection.html#a64ac02a079ab6d80cc3147dd4a60c357">type_pair_key_value</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00158">158</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac2ea5c9f54a13a31fe5db17de1b9f327"></a><!-- doxytag: member="qx::QxCollection::type_second_index" ref="ac2ea5c9f54a13a31fe5db17de1b9f327" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef boost::multi_index::hashed_unique&lt;<a class="el" href="classqx_1_1_qx_collection.html#ac7064ff450fd0f575a10eaaa8d81797a">type_member</a>&gt; <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::<a class="el" href="classqx_1_1_qx_collection.html#ac2ea5c9f54a13a31fe5db17de1b9f327">type_second_index</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00164">164</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2e60ad5cee08517a8ee22b1356eaa2a7"></a><!-- doxytag: member="qx::QxCollection::QxCollection" ref="a2e60ad5cee08517a8ee22b1356eaa2a7" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::<a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Construct an empty list. </p>

</div>
</div>
<a class="anchor" id="a9cfd295defd65de4b575662e0a76c48e"></a><!-- doxytag: member="qx::QxCollection::QxCollection" ref="a9cfd295defd65de4b575662e0a76c48e" args="(const QxCollection&lt; Key, Value &gt; &amp;other)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::<a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Construct a copy of 'other'. </p>

</div>
</div>
<a class="anchor" id="a5bad9c357a1e9aad50b202dc69ca8d03"></a><!-- doxytag: member="qx::QxCollection::~QxCollection" ref="a5bad9c357a1e9aad50b202dc69ca8d03" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::~<a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destroy the list. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae65263a9dfb2ec4a7b961c7394180e21"></a><!-- doxytag: member="qx::QxCollection::_at" ref="ae65263a9dfb2ec4a7b961c7394180e21" args="(long index) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual boost::any <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::_at </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="classqx_1_1_ix_collection.html#abfb70f6f2cb457977eb85d0e2bd535f8">qx::IxCollection</a>.</p>

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00271">271</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1cf2e485c5adfe897f2c0cb0e2bd2a27"></a><!-- doxytag: member="qx::QxCollection::_clear" ref="a1cf2e485c5adfe897f2c0cb0e2bd2a27" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::_clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="classqx_1_1_ix_collection.html#a2b4eaa0355e546a808d4c136c4a8736f">qx::IxCollection</a>.</p>

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00269">269</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<a class="anchor" id="adae3349e9cbc1c7978af455539777146"></a><!-- doxytag: member="qx::QxCollection::_count" ref="adae3349e9cbc1c7978af455539777146" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual long <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::_count </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="classqx_1_1_ix_collection.html#aada902f5002bedd7d92a0d46d394b01a">qx::IxCollection</a>.</p>

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00268">268</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<a class="anchor" id="a84fbf341c3587f3f1899665505a05539"></a><!-- doxytag: member="qx::QxCollection::_remove" ref="a84fbf341c3587f3f1899665505a05539" args="(long index)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::_remove </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="classqx_1_1_ix_collection.html#ad1c8a6bbfdb407325b26de5131105ba1">qx::IxCollection</a>.</p>

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00270">270</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<a class="anchor" id="a85be86f1e03076a396283ec590c4de6f"></a><!-- doxytag: member="qx::QxCollection::begin" ref="a85be86f1e03076a396283ec590c4de6f" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_collection.html#a5b7b37e15959ea92f5ee63fbc37c2cec">iterator</a> <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return an STL-style iterator pointing to the first item in the list. </p>

</div>
</div>
<a class="anchor" id="aea002b1d500ba95a612b3af5cd9caa84"></a><!-- doxytag: member="qx::QxCollection::begin" ref="aea002b1d500ba95a612b3af5cd9caa84" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_collection.html#a0fb6b1200751318557d88e6747b4444a">const_iterator</a> <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return a const STL-style iterator pointing to the first item in the list. </p>

</div>
</div>
<a class="anchor" id="aabedd22d38cb4497ea5f4664286dec05"></a><!-- doxytag: member="qx::QxCollection::capacity" ref="aabedd22d38cb4497ea5f4664286dec05" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">long <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::capacity </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return size of allocated storage capacity. </p>

</div>
</div>
<a class="anchor" id="ab258660dfa4167780d71e9abd1e631e7"></a><!-- doxytag: member="qx::QxCollection::clear" ref="ab258660dfa4167780d71e9abd1e631e7" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remove all items from the list. </p>

</div>
</div>
<a class="anchor" id="a5ee468d77f52316fcf3357080f86bd48"></a><!-- doxytag: member="qx::QxCollection::cloneCollection" ref="a5ee468d77f52316fcf3357080f86bd48" args="(QxCollection&lt; Key, Value &gt; *pClone, const QxCollection&lt; Key, Value &gt; &amp;pRef)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::cloneCollection </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; *&#160;</td>
          <td class="paramname"><em>pClone</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; &amp;&#160;</td>
          <td class="paramname"><em>pRef</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a464ef9e5e095c647e34a851b167d421d"></a><!-- doxytag: member="qx::QxCollection::contains" ref="a464ef9e5e095c647e34a851b167d421d" args="(const Key &amp;key) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::contains </td>
          <td>(</td>
          <td class="paramtype">const Key &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return 'true' if the list contains an occurrence of 'key', otherwise return 'false' (same as 'exist()') </p>

</div>
</div>
<a class="anchor" id="ab8f0528865494102febab56031988a9a"></a><!-- doxytag: member="qx::QxCollection::count" ref="ab8f0528865494102febab56031988a9a" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">long <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::count </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the number of items in the list (same as 'size()') </p>

</div>
</div>
<a class="anchor" id="aa3b9e171a47ae4021ed93e780ca604ba"></a><!-- doxytag: member="qx::QxCollection::empty" ref="aa3b9e171a47ae4021ed93e780ca604ba" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::empty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return 'true' if the list contains no items; otherwise return 'false'. </p>

</div>
</div>
<a class="anchor" id="af0f9ad86d2994c53166a19d5e6371a2f"></a><!-- doxytag: member="qx::QxCollection::end" ref="af0f9ad86d2994c53166a19d5e6371a2f" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_collection.html#a5b7b37e15959ea92f5ee63fbc37c2cec">iterator</a> <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return an STL-style iterator pointing to the imaginary item after the last item in the list. </p>

</div>
</div>
<a class="anchor" id="a9cfb09747f631b4c2ef7ea9d84d831e0"></a><!-- doxytag: member="qx::QxCollection::end" ref="a9cfb09747f631b4c2ef7ea9d84d831e0" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_collection.html#a0fb6b1200751318557d88e6747b4444a">const_iterator</a> <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return a const STL-style iterator pointing to the imaginary item after the last item in the list. </p>

</div>
</div>
<a class="anchor" id="a276ed91a7453196b87d027f91ef7ff21"></a><!-- doxytag: member="qx::QxCollection::exist" ref="a276ed91a7453196b87d027f91ef7ff21" args="(const Key &amp;key) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::exist </td>
          <td>(</td>
          <td class="paramtype">const Key &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return 'true' if the list contains an occurrence of 'key', otherwise return 'false' (same as 'contains()') </p>

</div>
</div>
<a class="anchor" id="ab20d863744dee2eac0752757e027e8be"></a><!-- doxytag: member="qx::QxCollection::getByIndex" ref="ab20d863744dee2eac0752757e027e8be" args="(long index) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_collection.html#ac29950bc2d7f35974f1eca6fd5a0ef2c">const_reference_value</a> <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::getByIndex </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the item at index position 'index'. </p>

</div>
</div>
<a class="anchor" id="a5b11fea19689fde42c070e2f97c43a73"></a><!-- doxytag: member="qx::QxCollection::getByKey" ref="a5b11fea19689fde42c070e2f97c43a73" args="(const Key &amp;key) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_collection.html#ac29950bc2d7f35974f1eca6fd5a0ef2c">const_reference_value</a> <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::getByKey </td>
          <td>(</td>
          <td class="paramtype">const Key &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the item associated with the 'key'. </p>

</div>
</div>
<a class="anchor" id="a1007ff21d56f33e5692a16d9e115e8cd"></a><!-- doxytag: member="qx::QxCollection::getFirst" ref="a1007ff21d56f33e5692a16d9e115e8cd" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_collection.html#ac29950bc2d7f35974f1eca6fd5a0ef2c">const_reference_value</a> <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::getFirst </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the first element in the list. </p>

</div>
</div>
<a class="anchor" id="a416faccd5e60a423a3d594eef2a3f99c"></a><!-- doxytag: member="qx::QxCollection::getKeyByIndex" ref="a416faccd5e60a423a3d594eef2a3f99c" args="(long index) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_collection.html#ae572d88061fa3737a49e93541ed25ed0">const_reference_key</a> <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::getKeyByIndex </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the key associated with the element at index position 'index'. </p>

</div>
</div>
<a class="anchor" id="ac29215e7c05ee9d905641514c5c5d05f"></a><!-- doxytag: member="qx::QxCollection::getLast" ref="ac29215e7c05ee9d905641514c5c5d05f" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_collection.html#ac29950bc2d7f35974f1eca6fd5a0ef2c">const_reference_value</a> <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::getLast </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the last element in the list. </p>

</div>
</div>
<a class="anchor" id="a0f4fa1d6008d5910103be9037f20665b"></a><!-- doxytag: member="qx::QxCollection::insert" ref="a0f4fa1d6008d5910103be9037f20665b" args="(const Key &amp;key, const Value &amp;value)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::insert </td>
          <td>(</td>
          <td class="paramtype">const Key &amp;&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Value &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add element 'value' at the end of the list indexed by 'key'. </p>

</div>
</div>
<a class="anchor" id="a612a691cc44bac11b2bf12b1251d96ee"></a><!-- doxytag: member="qx::QxCollection::insert" ref="a612a691cc44bac11b2bf12b1251d96ee" args="(long index, const Key &amp;key, const Value &amp;value)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::insert </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Key &amp;&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Value &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Insert element 'value' at position 'index' in the list indexed by 'key'. </p>

</div>
</div>
<a class="anchor" id="a7b38a992bd4e2833a44c4dadba9a3cf4"></a><!-- doxytag: member="qx::QxCollection::insert" ref="a7b38a992bd4e2833a44c4dadba9a3cf4" args="(const QxCollection&lt; Key, Value &gt; &amp;other)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::insert </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add all items of 'other' at the end of the list. </p>

</div>
</div>
<a class="anchor" id="a768d304ec25dfbcb8f4f38946e4da6c5"></a><!-- doxytag: member="qx::QxCollection::insert" ref="a768d304ec25dfbcb8f4f38946e4da6c5" args="(long index, const QxCollection&lt; Key, Value &gt; &amp;other)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::insert </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Insert all items of 'other' at the end of the list. </p>

</div>
</div>
<a class="anchor" id="adba1d541808cec21ac1dff0ac46da8fd"></a><!-- doxytag: member="qx::QxCollection::isSameCollection" ref="adba1d541808cec21ac1dff0ac46da8fd" args="(const QxCollection&lt; Key, Value &gt; *p1, const QxCollection&lt; Key, Value &gt; &amp;p2) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::isSameCollection </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; *&#160;</td>
          <td class="paramname"><em>p1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; &amp;&#160;</td>
          <td class="paramname"><em>p2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a26d085401a715214dee2b8737e0c68dc"></a><!-- doxytag: member="qx::QxCollection::move" ref="a26d085401a715214dee2b8737e0c68dc" args="(long indexFrom, long indexTo)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::move </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>indexFrom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>indexTo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Move the item at index position 'indexFrom' to index position 'indexTo'. </p>

</div>
</div>
<a class="anchor" id="a6ac47c53d09c6263acfffdfe1927b889"></a><!-- doxytag: member="qx::QxCollection::operator!=" ref="a6ac47c53d09c6263acfffdfe1927b889" args="(const QxCollection&lt; Key, Value &gt; &amp;other) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return 'true' if 'other' is not equal to this list, otherwise return 'false'. </p>

</div>
</div>
<a class="anchor" id="ab295cf7958a205a19b4bcbb6c72de822"></a><!-- doxytag: member="qx::QxCollection::operator=" ref="ab295cf7958a205a19b4bcbb6c72de822" args="(const QxCollection&lt; Key, Value &gt; &amp;other)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt;Key, Value&gt;&amp; <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assign 'other' to this list and return a reference to this list. </p>

</div>
</div>
<a class="anchor" id="a2529e650813e0d172c3f5cc11c0b36a2"></a><!-- doxytag: member="qx::QxCollection::operator==" ref="a2529e650813e0d172c3f5cc11c0b36a2" args="(const QxCollection&lt; Key, Value &gt; &amp;other) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>&lt; Key, Value &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return 'true' if 'other' is equal to this list, otherwise return 'false' (same values in the same order) </p>

</div>
</div>
<a class="anchor" id="a7269b27bc19a6874b8984ddd4f3cecd1"></a><!-- doxytag: member="qx::QxCollection::push_back" ref="a7269b27bc19a6874b8984ddd4f3cecd1" args="(const Key &amp;key, const Value &amp;value)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::push_back </td>
          <td>(</td>
          <td class="paramtype">const Key &amp;&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Value &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add element 'value' at the end of the list indexed by 'key'. </p>

</div>
</div>
<a class="anchor" id="abea68733aa43643af5a2ac07bbd78aa2"></a><!-- doxytag: member="qx::QxCollection::push_front" ref="abea68733aa43643af5a2ac07bbd78aa2" args="(const Key &amp;key, const Value &amp;value)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::push_front </td>
          <td>(</td>
          <td class="paramtype">const Key &amp;&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Value &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Insert 'value' at the beginning of the list indexed by 'key'. </p>

</div>
</div>
<a class="anchor" id="a0359ef96d5e3dc3f9311bcd212b1d3a3"></a><!-- doxytag: member="qx::QxCollection::rbegin" ref="a0359ef96d5e3dc3f9311bcd212b1d3a3" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_collection.html#ab0c08d2e209fbf646b900c9b760814f2">reverse_iterator</a> <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::rbegin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return a reverse STL-style iterator pointing to the first item in the list. </p>

</div>
</div>
<a class="anchor" id="af3b061b47190aa61ea9aa1f26ddd57de"></a><!-- doxytag: member="qx::QxCollection::rbegin" ref="af3b061b47190aa61ea9aa1f26ddd57de" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_collection.html#aa7fac6ef55247031cd19da8ad7ccb4b4">const_reverse_iterator</a> <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::rbegin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return a const reverse STL-style iterator pointing to the first item in the list. </p>

</div>
</div>
<a class="anchor" id="ad4d8541e983e15c660d7162bf502e9df"></a><!-- doxytag: member="qx::QxCollection::removeByIndex" ref="ad4d8541e983e15c660d7162bf502e9df" args="(long index)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::removeByIndex </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remove the item at index position 'index'. </p>

</div>
</div>
<a class="anchor" id="aa934adc095e397ce632c9f67b592f087"></a><!-- doxytag: member="qx::QxCollection::removeByIndex" ref="aa934adc095e397ce632c9f67b592f087" args="(long first, long last)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::removeByIndex </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>first</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>last</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remove all items from index position 'first' to index position 'last'. </p>

</div>
</div>
<a class="anchor" id="a700ad0d24afec119dcad59a263136181"></a><!-- doxytag: member="qx::QxCollection::removeByKey" ref="a700ad0d24afec119dcad59a263136181" args="(const Key &amp;key)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::removeByKey </td>
          <td>(</td>
          <td class="paramtype">const Key &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remove the item indexed by 'key' in the list. </p>

</div>
</div>
<a class="anchor" id="a8a1e716b1c32b96e429e43127436ad94"></a><!-- doxytag: member="qx::QxCollection::removeFirst" ref="a8a1e716b1c32b96e429e43127436ad94" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::removeFirst </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remove the first item in the list. </p>

</div>
</div>
<a class="anchor" id="a255472341136f55456f6a7507abdd21c"></a><!-- doxytag: member="qx::QxCollection::removeLast" ref="a255472341136f55456f6a7507abdd21c" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::removeLast </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remove the last item in the list. </p>

</div>
</div>
<a class="anchor" id="a205eed8fadd9331fa438b9da7300822f"></a><!-- doxytag: member="qx::QxCollection::rend" ref="a205eed8fadd9331fa438b9da7300822f" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_collection.html#ab0c08d2e209fbf646b900c9b760814f2">reverse_iterator</a> <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::rend </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return a reverse STL-style iterator pointing to the imaginary item after the last item in the list. </p>

</div>
</div>
<a class="anchor" id="a0ec0e81216161104ddcfdc90c6f42cd3"></a><!-- doxytag: member="qx::QxCollection::rend" ref="a0ec0e81216161104ddcfdc90c6f42cd3" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_collection.html#aa7fac6ef55247031cd19da8ad7ccb4b4">const_reverse_iterator</a> <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::rend </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return a const reverse STL-style iterator pointing to the imaginary item after the last item in the list. </p>

</div>
</div>
<a class="anchor" id="a645812dcc3e768f2f66413f77b0217c8"></a><!-- doxytag: member="qx::QxCollection::replace" ref="a645812dcc3e768f2f66413f77b0217c8" args="(long index, const Key &amp;key, const Value &amp;value)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::replace </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Key &amp;&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Value &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Replace the item at index position 'index' with element 'value' indexed by 'key'. </p>

</div>
</div>
<a class="anchor" id="a47133ed5f3d4902f017399bdf5e0e12d"></a><!-- doxytag: member="qx::QxCollection::reserve" ref="a47133ed5f3d4902f017399bdf5e0e12d" args="(long size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::reserve </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Request that the capacity of the allocated storage space for the items of the container be at least enough to hold 'size' elements. </p>

</div>
</div>
<a class="anchor" id="a8fe20737d457cd97aee12db0185e5d85"></a><!-- doxytag: member="qx::QxCollection::reverse" ref="a8fe20737d457cd97aee12db0185e5d85" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::reverse </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reverse all items in the list. </p>

</div>
</div>
<a class="anchor" id="a7977eb06f18f7055433365cbb2fbf5fa"></a><!-- doxytag: member="qx::QxCollection::size" ref="a7977eb06f18f7055433365cbb2fbf5fa" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">long <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the number of items in the list (same as 'count()') </p>

</div>
</div>
<a class="anchor" id="a11aa16749d8cd7982519489948a4c1ae"></a><!-- doxytag: member="qx::QxCollection::sort" ref="a11aa16749d8cd7982519489948a4c1ae" args="(Compare comp)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
<div class="memtemplate">
template&lt;typename Compare &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::sort </td>
          <td>(</td>
          <td class="paramtype">Compare&#160;</td>
          <td class="paramname"><em>comp</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00241">241</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4f2e29a010522b479821c230b57adaed"></a><!-- doxytag: member="qx::QxCollection::sortByKey" ref="a4f2e29a010522b479821c230b57adaed" args="(bool bAscending=true)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::sortByKey </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>bAscending</em> = <code>true</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sort all items in the list using associated keys to compare. </p>

</div>
</div>
<a class="anchor" id="a0a5b869d07917714f5ca14dc114fa8d9"></a><!-- doxytag: member="qx::QxCollection::sortByValue" ref="a0a5b869d07917714f5ca14dc114fa8d9" args="(bool bAscending=true)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::sortByValue </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>bAscending</em> = <code>true</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sort all items in the list. </p>

</div>
</div>
<a class="anchor" id="a8c51b338f22db4df3d3a0d4ad65332e8"></a><!-- doxytag: member="qx::QxCollection::swap" ref="a8c51b338f22db4df3d3a0d4ad65332e8" args="(long index1, long index2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::swap </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>index1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>index2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Exchange the item at index position 'index1' with the item at index position 'index2'. </p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a2fd856518b2796359cd9b9135be9f32c"></a><!-- doxytag: member="qx::QxCollection::m_qxCollection" ref="a2fd856518b2796359cd9b9135be9f32c" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename Value&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_collection.html#a2053337d8797601340e3b2667c643a51">type_container</a> <a class="el" href="classqx_1_1_qx_collection.html">qx::QxCollection</a>&lt; Key, Value &gt;::<a class="el" href="classqx_1_1_qx_collection.html#a2fd856518b2796359cd9b9135be9f32c">m_qxCollection</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Collection with random access (like std::vector) and fast lookup by key (like boost::unordered_map) </p>

<p>Definition at line <a class="el" href="_qx_collection_8h_source.html#l00183">183</a> of file <a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Dvlp/_Perso/QxOrm/include/QxCollection/<a class="el" href="_qx_collection_8h_source.html">QxCollection.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceqx.html">qx</a>      </li>
      <li class="navelem"><a class="el" href="classqx_1_1_qx_collection.html">QxCollection</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Sun Dec 11 2016 13:41:11 for QxOrm by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
